import { defHttp } from '/@/utils/http/axios';

enum Api {
  itemsInfo = '/items/labTaskAllot/samItemCount', //获取实验数据
  itemsStatisticalData = '/items/labTaskAllot/monthSamItemCount', //实验统计数据
}

/**
 * 获取实验数据接口
 * @param params
 */
export const itemsInfolist = (params) => defHttp.get({ url: Api.itemsInfo, params },{ isTransformResponse: false });

/**
 * 子表单信息
 * @param params
 */
export const itemsStatisticalDataList = (params) => defHttp.get({ url: Api.itemsStatisticalData, params }, { isTransformResponse: false });